package com.wsd.service;

import com.wsd.domain.LoanLimit;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LoanLimitService {
    /**
     * 根据客户编号查找最高额度
     * @param customerId
     * @return
     */
    LoanLimit selectByCustomerId(String customerId);
    /**
     * 查找所有申请额度中用户
     * @return
     * 返回申请中用户额度信息列表
     * by WangYucan
     */
    List<LoanLimit> applyingLoanLimit();

    /**
     * 传入要变更的贷款额度列表，更新贷款额度状态
     * @param loanLimits 用户额度信息列表
     * @return
     * by WangYucan
     */
    void updateLoanLimit(List<LoanLimit> loanLimits);
}
